package cn.iocoder.yudao.module.gateway.controller.admin.deviceconfig.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 设备配置新增/修改 Request VO")
@Data
public class DeviceConfigSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9052")
    private Long id;

    @Schema(description = "客户端设备clientId", requiredMode = Schema.RequiredMode.REQUIRED, example = "14159")
    @NotEmpty(message = "客户端设备clientId不能为空")
    private String clientClientId;

    @Schema(description = "客户端设备索引")
    private String clientDeviceIndex;

    @Schema(description = "客户端设备名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "客户端设备名称不能为空")
    private String clientDeviceName;

    @Schema(description = "客户端设备类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "客户端设备类型不能为空")
    private String clientDeviceType;

    @Schema(description = "客户端设备房间号")
    private String clientDeviceRoomNumber;

    @Schema(description = "平台设备clientId", requiredMode = Schema.RequiredMode.REQUIRED, example = "23255")
    @NotEmpty(message = "平台设备clientId不能为空")
    private String platformClientId;

    @Schema(description = "平台产品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13048")
    @NotEmpty(message = "平台产品id不能为空")
    private String platformProductId;

    @Schema(description = "平台设备序列号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "平台设备序列号不能为空")
    private String platformDeviceSerialNumber;

    @Schema(description = "平台用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8435")
    @NotEmpty(message = "平台用户id不能为空")
    private String platformUserId;

    @Schema(description = "平台产品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "平台产品名称不能为空")
    private String platformProductName;

    @Schema(description = "平台设备名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "平台设备名称不能为空")
    private String platformDeviceName;

    @Schema(description = "平台设备类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "平台设备类型不能为空")
    private String platformDeviceType;

}